import { JUHE_APPKEY } from '@/config/keys'
import axios from 'axios'


function axiosGet(options:any) {
  return axios(`${options.url}&key=${JUHE_APPKEY}`).then(result => {
    options.success(result.data);
  }).catch(err => {
    options.error(err)
  });
};

export {
  axiosGet
}